package com.yangtzeu.jwc.utils;

public class G {
    // 登录Http参数名
    public static final String BTLOGIN = "btLogin";
    // 查询Http参数名
    public static final String BTQUERY = "btQuery";
    // 控制参数(表单校验控制)
    public static final String EVENTARGUMENT = "__EVENTARGUMENT";
    public static final String EVENTTARGET = "__EVENTTARGET";
    public static final String EVENTVALIDATION = "__EVENTVALIDATION";
    public static final String VIEWSTATE = "__VIEWSTATE";
    public static final String LASTFOCUS = "__LASTFOCUS";

    public static final String NEW_JWC = "jwc.yangtzeu.edu.cn";
    public static final String NEW_JWC_HOME = "http://" + NEW_JWC + "";
    public static final String JWC_HOME = "http://jwc2.yangtzeu.edu.cn:8080";
    public static final String YANGTZEU_JWC_INNER_PATH = "http://10.10.11.242:8080";
    public static final String YANGTZEU_INNER_PATH_PATTERN = "10\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}";

    // 查询分数的地址
    public static final String INQUERY_SCORE_PATH = JWC_HOME + "/cjcx.aspx";

    // 教学动态
    public static final String JXDT = JWC_HOME + "/listTzx.aspx";
    // 通知公告
    public static final String TZGG = JWC_HOME + "/listTzs.aspx";

    // 课表查询的班级HTTP参数名
    public static final String SELCLASS = "selClass";
    // 课表查询地址
    public static final String KB_PATH = JWC_HOME + "/kb.aspx";
    // 课表类型参数HTTP参数名
    public static final String KB_TYPE = "selKblb";
    // 登录的地址
    public static final String LOGIN_PATH = JWC_HOME + "/login.aspx";
    // 登陆后用户信息所在的DIV name
    public static final String LOGIN_USERINFO = "lbPrompt";
    // 显示成绩的表格DIV name
    public static final String SCORE_TABLE = "dgCj";
    // 选择类别HTTP参数名
    public static final String SELKIND = "selKind";
    // 选择学期HTTP参数名
    public static final String SELTERM = "selTerm";
    public static final String SELTERM_FIRST = "1";
    public static final String SELTERM_SECOND = "2";
    // 选择年份HTTP参数名
    public static final String SELYEAR = "selYear";
    // 选择系别HTTP参数名
    public static final String SELDEPART = "selDepart";
    // 登录用户用户名HTTP参数名
    public static final String USER_NUMBER = "txtUid";
    // 登录用户用户密码HTTP参数名
    public static final String USER_PASSWORD = "txtPwd";
    // 教务处主页
    // public static final String YANGTZEU_JWC_PATH =
    // "http://cache.baiducontent.com/c?m=9f65cb4a8c8507ed4fece763104e92370e54f7286f8b85533783d45f93130c170071e3cc767e0705a0cf7e6d03b25d19b7b0607d207321a0e8ce9f3aabace15e38895723001a913513c46facdc3520d621e04d99d90e96cbe743e4b9a6d0c85523dd23036df3f4&p=8b2a970180b11aff57ed977d1e4ec4&newp=80759a45d5c002fc57efdb24574ec4231610db2151d1d7123c&user=baidu&fm=sc&query=%B3%A4%BD%AD%B4%F3%D1%A7%BD%CC%CE%F1%B4%A6&qid=&p1=1";
    // 教务处内网主页
    // 课表类别HTTP参数名
    public static final String SELKBLB = "selKblb";
    // 返回的课表表格的ID
    public static final String DGKB = "dgKb";
    // 个人信息查询页面:通过四六级报名界面
    public static final String USER_INFO_PATH_CET = JWC_HOME + "/cetapply.aspx";
    // 个人信息查询页面
    public static final String USER_INFO_PATH = JWC_HOME + "/xssfz.aspx";
    // 修改密码地址
    public static final String CHANGE_PASSWORD = JWC_HOME + "/changepassword.aspx";
    // 学生性别ID
    public static final String USER_SEX_ID = "#lbXb";
    // 学生身份证号码
    public static final String USER_SJID_ID = "#txtSfz";
    // 学生头像地址
    public static final String USER_PHOTO_ID = "#imgPhoto";
    // 查询所有成绩的参数(type)
    public static final String QUERYALLSCORE = "btAllcj";
    // 必修课绩点参数
    public static final String BXKJD = "Button2";
    // 学位课绩点
    public static final String XWKJD = "Button1";
    // 绩点的id
    public static final String JD = "jd";
    // 查看选课信息路径
    public static final String XKINFO = JWC_HOME + "/xkinfo.aspx";
    // 查看选课信息路径
    public static final String XK = JWC_HOME + "/Xk2.aspx";

    // 系统设置
    public static final String IS_FIRST_USE = "isFirstUse";
    public static final String IS_SHOW_REFRES_TIP = "isShowRefreshTip";
    public static final String IS_INFO_UPLOADED = "isInfoUploaded";
    public static final String UPLOAD_SCORES_TIME = "uploadScoresTime";
    public static final String UPLOAD_JD_TIME = "uploadJdTime";
    // 系统变量
    public static final int SHOWPROGRESSBAR = 0;
    public static final int SHOWPROGRESSDIALOG = 1;
    public static final int DISMISSPROGRESSBAR = 2;
    public static final int LOADFINISH = 3;
    public static final int REFRESHFINISH = 4;
    public static final int REFRESHFAILED = 5;
    public static final int LOADFAILED = 6;
    public static final int LOADXWKJDOK = 7;
    public static final int LOADBXKJDOK = 8;
    public static final int LOADXWKJDFAILED = 9;
    public static final int LOADBXKJDFAILED = 10;


    // 更新文件保存路径
    public static final String MY_FOLDER = "/Yangtzeu";
    public static final String UPADATE_FOLDER = MY_FOLDER + "/update";

    /*****************************************/
    /**
     * 服务地址
     */
    /*****************************************/

    //public static final String APP_SERVER_ROOT = "http://yangtzeuapp.sinaapp.com";
    public static final String APP_SERVER_ROOT = "http://yangtzeuapp.duapp.com";
    public static final String APP_USER_SAVE = APP_SERVER_ROOT + "/aapp/save-user";
    public static final String APP_FEEDBACK = APP_SERVER_ROOT + "/aapp/feedback";
    public static final String APP_UPDATE = APP_SERVER_ROOT + "/aapp/version";
    public static final String APP_INSTALL = APP_SERVER_ROOT + "/aapp/install";
    public static final String APP_LOGIN = APP_SERVER_ROOT + "/auser/login";
    public static final String APP_SERVER = APP_SERVER_ROOT + "/aapp/server";
    public static final String APP_NOTE_LIST = APP_SERVER_ROOT + "/anote/list";
    public static final String APP_NOTE_NOTE = APP_SERVER_ROOT + "/anote/note";
    public static final String APP_NOTE_UPDOWN = APP_SERVER_ROOT + "/anote/updown";

    public static final String APP_UPLOAD_SCORES = APP_SERVER_ROOT + "/aupload/scores";
    public static final String APP_UPLOAD_JD = APP_SERVER_ROOT + "/aupload/jd";
    /*****************************************/
    /**
     * 新版教务处
     */
    /*****************************************/
    public static final String JWTZ = NEW_JWC_HOME + "/jwnews/jwxw/jwtz/";// 教务通知
    public static final String JXDT2 = NEW_JWC_HOME + "/jwnews/jwxw/jxdt/";// 教学动态
    public static final String JXJB = NEW_JWC_HOME + "/jwnews/jwxw/jxjb/";// 教学简报
    public static final String GJXX = NEW_JWC_HOME + "/jwnews/jwxw/gjxx/";// 高教信息
    public static final String SJJX = NEW_JWC_HOME + "/jwnews/sjcx/sjjx/";// 实践教学
    public static final String XZZX = NEW_JWC_HOME + "/jwnews/xzzx/";// 下载中心
    public static final String XLCX = NEW_JWC_HOME + "/jwnews/jwgl/xlcx/";//校历查询

    public static final String BROADCAST_LOGIN = "com.yantzeu.jwc.broadcast.login";
    public static final String BROADCAST_LOGOUT = "com.yantzeu.jwc.broadcast.logout";

}
